using System;
using FBGraph.Models;

namespace FBGraph.Controllers
{
    /// <summary>The photo albums this user has created. Requires the user_photos or friend_photos permission</summary>
    public partial class AlbumsController : FBGraphController, IFBGraphConnectionController<Album>
    {
        /// <summary>Initializes an instance of <see cref="AlbumsController" />.</summary>
        public AlbumsController(IFBGraphContext context)
            : base(context)
        {
        }
        
        /// <summary>Gets the name of the connection the <see cref="AlbumsController" /> handles requests for.</summary>
        String IFBGraphConnectionController<Album>.ConnectionName
        {
            get
            {
                return "albums";
            }
        }
    }
}